package org.wmq.shopmanager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.shopmodel.DTO.product.ProductQueryDTO;
import org.wmq.shopmodel.Entity.product.Product;

public interface ProductService extends IService<Product> {
    IPage<Product> getPageItem(ProductQueryDTO productQueryDTO);

    void saveProduct(Product product);

    Product getProductAllFieldById(Long id);

    void updateProductById(Product product);

    void removeProductById(Long id);
}
